#pragma once

typedef double DATA_TYPE;

const DATA_TYPE EPSILON = 1E-3;

typedef Eigen::Matrix<DATA_TYPE, 3, 3> Matrix3R;
typedef Eigen::Matrix<DATA_TYPE, 3, 1> VectorR;

const int MAX_TREE_LEVEL = 15;

struct CUSTOMVERTEX
{
	D3DXVECTOR3 position;
};

#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ)